a = [1,2,3,4,5]
a[2:4] = [9,8]
print(a)